Just when I thought everything was going well, life threw me a curveball.
Как только я подумал, что все идет хорошо, жизнь подкинула мне неожиданные испытания.
Definitions
The phrase 'life throws (someone) a curveball' means that unexpected challenges or difficulties arise in a person's life, often requiring them to adapt or change their plans.